//
//  WLFlutterBoostViewController.swift
//  FlutterBoostIOSDemo
//
//  Created by wangliang on 2024/7/12.
//

import UIKit
import flutter_boost

class WLFlutterBoostViewController: FBFlutterViewContainer {

    override func viewWillAppear(_ animated: Bool) {
        NSLog("WLTest viewWillAppear \(name) ")
        super.viewWillAppear(animated)
        self.navigationController?.setNavigationBarHidden(true, animated: false)
    }
    

    override func viewDidLoad() {
        self.enableLeftPanBackGesture = true
//        self.disablePopGesture = false
        super.viewDidLoad()
    }
    
    override func viewDidDisappear(_ animated: Bool) {
        super.viewDidDisappear(animated)
        NSLog("WLTest viewDidDisappear \(name) ")
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
